package com.yswy.app.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yswy.domain.entity.AgreementOrder;
import com.yswy.domain.entity.AgreementOrderPayLog;
import com.yswy.domain.entity.PayOrder;

/**
 * 参数配置 服务层
 * 
 * @author ruoyi
 */
public interface AgreementOrderPayLogService extends IService<AgreementOrderPayLog> {


    //生成扣款记录表
    AgreementOrderPayLog addAgreementOrderPayLogV2(AgreementOrder agreementOrder , Integer payments , Integer paySize);

    void addLastAgreementOrder(AgreementOrderPayLog agreementOrderPayLog);
    void addLastAgreementOrder(PayOrder payOrder);
    //生成扣款记录表
    void addAgreementOrderPayLog(AgreementOrder agreementOrder);

    //解约
    void unAgreementOrderPayLog(Long agreementOrderId);

    //周期付款收单
    void userAgreementPayOrder();
    //周期付款收单
    void userAgreementPayOrderV2();


}
